/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package org.lucava.boatskeeper.client.service;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
import java.util.List;
import org.lucava.boatskeeper.shared.dto.CategoryDto;

/**
 *
 * @author glenn
 */
@RemoteServiceRelativePath("category")
public interface CategoryService extends RemoteService {

    public List<CategoryDto> getCategories();

    public CategoryDto getCategory(Integer id);

    public Boolean saveCategory(CategoryDto boat);

    public Boolean removeCategory(CategoryDto boat);

    public Boolean removeCategories(List<Integer> catIds);
}
